<%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">

<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core"%>
<%@ taglib prefix="form" uri="http://www.springframework.org/tags/form"%>
<%@ taglib prefix="spring" uri="http://www.springframework.org/tags"%>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>Datum</title>
</head>
<body>
<h1>Unos korisnika</h1>
<b> ${date} </b>

<form:form modelAttribute="userForm" action="submit.action">
	<table>
		<tr>
			<td>
			<p>Id korisnika:</p>
			</td>
			<td><form:input path="idUser" /> <font color="red"><form:errors path="idUser" /></font></td>

		</tr>
		<tr>
			<td>
			<p>Ime:</p>
			</td>
			<td><form:input path="ime" /></td>
		</tr>
		<tr>
			<td>
			<p>Prezime:</p>
			</td>
			<td><form:input path="prezime" /></td>
		</tr>
		<tr>
			<td>
			<p>Password:</p>
			</td>
			<td><form:password path="password" /></td>
		</tr>
		<tr>
			<td>
			<p>Datum:</p>
			</td>
			<td><form:input path="datum" /> <font color="red"><form:errors path="datum" /></font></td>

		</tr>
		<tr>
			<td><input type="submit" /></td>
		</tr>
	</table>
</form:form>

</body>
</html>